﻿@model Int32
@using Mvc4WebApiKoTb.Helpers.MvcBasic

@{
    var values = new Dictionary<string, object>();
    if (ViewData.ModelMetadata.AdditionalValues.ContainsKey(HtmlTagAttribute.HtmlTagAdditionalValuesKey))
    {
        values = (Dictionary<string, object>)ViewData.ModelMetadata.AdditionalValues[HtmlTagAttribute.HtmlTagAdditionalValuesKey];
    }
    
}

@* Im Template direkt eine bestimmte Formatierung angeben *@
<div class="control-group">
    <label class="control-label">@Html.Encode(ViewData.ModelMetadata.DisplayName):</label>
    <div class="controls">
        @Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, values)
    </div>
</div>

